package com.lm.atomikos;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Atomikos 是一款支持 JTA（Java Transaction API）标准 的分布式事务协调器，可在多个数据库或消息系统之间实现两阶段提交（2PC）
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"com.lm.atomikos",/*"com.am.ammq",*/})
@EnableScheduling
public class AtomikosApplication {
    public static void main(String[] args) {
        SpringApplication.run(AtomikosApplication.class, args);
    }
}
